package com.ljm.sys.auth.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
    * 角色权限
    * </p>
 *
 * @author HuamingChen
 * @since 2020-06-11
 */

@ApiModel(value="SysAuthRoleResourceDto对象", description="角色权限")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SysAuthRoleResourceDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "创建人")
    private String creater;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改人")
    private String editor;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime editTime;

    @ApiModelProperty(value = "角色代码")
    private String roleCode;

    @ApiModelProperty(value = "资源id")
    private Long resId;

    @ApiModelProperty(value = "机构id")
    private String orgId;

}
